package com.bzkj.basicinfo.domain.ncc;

import com.alibaba.fastjson2.annotation.JSONField;
import com.bzkj.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.data.annotation.Transient;

import java.util.Date;

/**
 * NCC物料单位信息
 */
public class NccBasicDepartment extends BaseEntity {

    //@Transient注解来标识数据库中不存在的字段
    @Transient
    private String baseCodeFlag;
    @Transient
    @JSONField(name = "bitnumber")
    private String bitNumber;

    private String code;
    @Transient
    @JSONField(name = "creationtime")
    private Date creationTime;
    @Transient
    private String creator;
    @Transient
    @JSONField(name = "dataoriginflag")
    private String dataOriginFlag;
    @Transient
    private String dr;
    @Transient
    private Date modifiedTime;
    @Transient
    private String modifier;

    private String name;
    @Transient
    @JSONField(name = "oppdimen")
    private String oppDimen;
    @Transient
    private String pkGroup;
    @Transient
    private String pkMeasdoc;
    @Transient
    private String pkOrg;
    @Transient
    private Date ts;

    public NccBasicDepartment() {
    }

    public NccBasicDepartment(String baseCodeFlag, String bitNumber, String code, Date creationTime, String creator, String dataOriginFlag, String dr, Date modifiedTime, String modifier, String name, String oppDimen, String pkGroup, String pkMeasdoc, String pkOrg, Date ts) {
        this.baseCodeFlag = baseCodeFlag;
        this.bitNumber = bitNumber;
        this.code = code;
        this.creationTime = creationTime;
        this.creator = creator;
        this.dataOriginFlag = dataOriginFlag;
        this.dr = dr;
        this.modifiedTime = modifiedTime;
        this.modifier = modifier;
        this.name = name;
        this.oppDimen = oppDimen;
        this.pkGroup = pkGroup;
        this.pkMeasdoc = pkMeasdoc;
        this.pkOrg = pkOrg;
        this.ts = ts;
    }

    public String getBaseCodeFlag() {
        return baseCodeFlag;
    }

    public void setBaseCodeFlag(String baseCodeFlag) {
        this.baseCodeFlag = baseCodeFlag;
    }

    public String getBitNumber() {
        return bitNumber;
    }

    public void setBitNumber(String bitNumber) {
        this.bitNumber = bitNumber;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getDataOriginFlag() {
        return dataOriginFlag;
    }

    public void setDataOriginFlag(String dataOriginFlag) {
        this.dataOriginFlag = dataOriginFlag;
    }

    public String getDr() {
        return dr;
    }

    public void setDr(String dr) {
        this.dr = dr;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOppDimen() {
        return oppDimen;
    }

    public void setOppDimen(String oppDimen) {
        this.oppDimen = oppDimen;
    }

    public String getPkGroup() {
        return pkGroup;
    }

    public void setPkGroup(String pkGroup) {
        this.pkGroup = pkGroup;
    }

    public String getPkMeasdoc() {
        return pkMeasdoc;
    }

    public void setPkMeasdoc(String pkMeasdoc) {
        this.pkMeasdoc = pkMeasdoc;
    }

    public String getPkOrg() {
        return pkOrg;
    }

    public void setPkOrg(String pkOrg) {
        this.pkOrg = pkOrg;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    @Override
    public String toString() {
        return "NccBasicDepartment{" +
                "baseCodeFlag='" + baseCodeFlag + '\'' +
                ", bitNumber='" + bitNumber + '\'' +
                ", code='" + code + '\'' +
                ", creationTime=" + creationTime +
                ", creator='" + creator + '\'' +
                ", dataOriginFlag='" + dataOriginFlag + '\'' +
                ", dr='" + dr + '\'' +
                ", modifiedTime=" + modifiedTime +
                ", modifier='" + modifier + '\'' +
                ", name='" + name + '\'' +
                ", oppDimen='" + oppDimen + '\'' +
                ", pkGroup='" + pkGroup + '\'' +
                ", pkMeasdoc='" + pkMeasdoc + '\'' +
                ", pkOrg='" + pkOrg + '\'' +
                ", ts=" + ts +
                '}';
    }
}
